package com.xoa.model.hr;

import com.alibaba.fastjson.annotation.JSONField;
import com.xoa.model.enclosure.Attachment;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

public class HrWorkExperience {
    /**
     * 自增id
     */
    private Integer wExperienceId;

    /**
     * 创建者用户名
     */
    private String createUserId;

    /**
     * 创建者部门编号
     */
    private Integer createDeptId;

    /**
     * 单位员工
     */
    private String staffName;

    /**
     * 开始日期
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JSONField(format = "yyyy-MM-dd")
    private Date startDate;
    private String startDateArr;
    /**
     * 结束日期
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JSONField(format = "yyyy-MM-dd")
    private Date endDate;
    private String endDateArr;
    /**
     * 所在部门
     */
    private String workBranch;

    /**
     * 担任职务
     */
    private String postOfJob;

    /**
     * 证明人
     */
    private String witness;

    /**
     * 附件编号
     */
    private String attachmentId;

    /**
     * 附件名称
     */
    private String attachmentName;

    /**
     * 登记时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JSONField(format = "yyyy-MM-dd")
    private Date addTime;

    /**
     * 最后修改时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JSONField(format = "yyyy-MM-dd")
    private Date lastUpdateTime;

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column hr_staff_work_experience.W_EXPERIENCE_ID
     *
     * @return the value of hr_staff_work_experience.W_EXPERIENCE_ID
     *
     * @mbggenerated
     */
    public Integer getwExperienceId() {
        return wExperienceId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column hr_staff_work_experience.W_EXPERIENCE_ID
     *
     * @param wExperienceId the value for hr_staff_work_experience.W_EXPERIENCE_ID
     *
     * @mbggenerated
     */
    public void setwExperienceId(Integer wExperienceId) {
        this.wExperienceId = wExperienceId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column hr_staff_work_experience.CREATE_USER_ID
     *
     * @return the value of hr_staff_work_experience.CREATE_USER_ID
     *
     * @mbggenerated
     */
    public String getCreateUserId() {
        return createUserId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column hr_staff_work_experience.CREATE_USER_ID
     *
     * @param createUserId the value for hr_staff_work_experience.CREATE_USER_ID
     *
     * @mbggenerated
     */
    public void setCreateUserId(String createUserId) {
        this.createUserId = createUserId == null ? null : createUserId.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column hr_staff_work_experience.CREATE_DEPT_ID
     *
     * @return the value of hr_staff_work_experience.CREATE_DEPT_ID
     *
     * @mbggenerated
     */
    public Integer getCreateDeptId() {
        return createDeptId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column hr_staff_work_experience.CREATE_DEPT_ID
     *
     * @param createDeptId the value for hr_staff_work_experience.CREATE_DEPT_ID
     *
     * @mbggenerated
     */
    public void setCreateDeptId(Integer createDeptId) {
        this.createDeptId = createDeptId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column hr_staff_work_experience.STAFF_NAME
     *
     * @return the value of hr_staff_work_experience.STAFF_NAME
     *
     * @mbggenerated
     */
    public String getStaffName() {
        return staffName;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column hr_staff_work_experience.STAFF_NAME
     *
     * @param staffName the value for hr_staff_work_experience.STAFF_NAME
     *
     * @mbggenerated
     */
    public void setStaffName(String staffName) {
        this.staffName = staffName == null ? null : staffName.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column hr_staff_work_experience.START_DATE
     *
     * @return the value of hr_staff_work_experience.START_DATE
     *
     * @mbggenerated
     */
    public Date getStartDate() {
        return startDate;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column hr_staff_work_experience.START_DATE
     *
     * @param startDate the value for hr_staff_work_experience.START_DATE
     *
     * @mbggenerated
     */
    public void setStartDate(Date startDate) {
        this.startDate = startDate;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column hr_staff_work_experience.END_DATE
     *
     * @return the value of hr_staff_work_experience.END_DATE
     *
     * @mbggenerated
     */
    public Date getEndDate() {
        return endDate;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column hr_staff_work_experience.END_DATE
     *
     * @param endDate the value for hr_staff_work_experience.END_DATE
     *
     * @mbggenerated
     */
    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column hr_staff_work_experience.WORK_BRANCH
     *
     * @return the value of hr_staff_work_experience.WORK_BRANCH
     *
     * @mbggenerated
     */
    public String getWorkBranch() {
        return workBranch;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column hr_staff_work_experience.WORK_BRANCH
     *
     * @param workBranch the value for hr_staff_work_experience.WORK_BRANCH
     *
     * @mbggenerated
     */
    public void setWorkBranch(String workBranch) {
        this.workBranch = workBranch == null ? null : workBranch.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column hr_staff_work_experience.POST_OF_JOB
     *
     * @return the value of hr_staff_work_experience.POST_OF_JOB
     *
     * @mbggenerated
     */
    public String getPostOfJob() {
        return postOfJob;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column hr_staff_work_experience.POST_OF_JOB
     *
     * @param postOfJob the value for hr_staff_work_experience.POST_OF_JOB
     *
     * @mbggenerated
     */
    public void setPostOfJob(String postOfJob) {
        this.postOfJob = postOfJob == null ? null : postOfJob.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column hr_staff_work_experience.WITNESS
     *
     * @return the value of hr_staff_work_experience.WITNESS
     *
     * @mbggenerated
     */
    public String getWitness() {
        return witness;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column hr_staff_work_experience.WITNESS
     *
     * @param witness the value for hr_staff_work_experience.WITNESS
     *
     * @mbggenerated
     */
    public void setWitness(String witness) {
        this.witness = witness == null ? null : witness.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column hr_staff_work_experience.ATTACHMENT_ID
     *
     * @return the value of hr_staff_work_experience.ATTACHMENT_ID
     *
     * @mbggenerated
     */
    public String getAttachmentId() {
        return attachmentId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column hr_staff_work_experience.ATTACHMENT_ID
     *
     * @param attachmentId the value for hr_staff_work_experience.ATTACHMENT_ID
     *
     * @mbggenerated
     */
    public void setAttachmentId(String attachmentId) {
        this.attachmentId = attachmentId == null ? null : attachmentId.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column hr_staff_work_experience.ATTACHMENT_NAME
     *
     * @return the value of hr_staff_work_experience.ATTACHMENT_NAME
     *
     * @mbggenerated
     */
    public String getAttachmentName() {
        return attachmentName;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column hr_staff_work_experience.ATTACHMENT_NAME
     *
     * @param attachmentName the value for hr_staff_work_experience.ATTACHMENT_NAME
     *
     * @mbggenerated
     */
    public void setAttachmentName(String attachmentName) {
        this.attachmentName = attachmentName == null ? null : attachmentName.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column hr_staff_work_experience.ADD_TIME
     *
     * @return the value of hr_staff_work_experience.ADD_TIME
     *
     * @mbggenerated
     */
    public Date getAddTime() {
        return addTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column hr_staff_work_experience.ADD_TIME
     *
     * @param addTime the value for hr_staff_work_experience.ADD_TIME
     *
     * @mbggenerated
     */
    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column hr_staff_work_experience.LAST_UPDATE_TIME
     *
     * @return the value of hr_staff_work_experience.LAST_UPDATE_TIME
     *
     * @mbggenerated
     */
    public Date getLastUpdateTime() {
        return lastUpdateTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column hr_staff_work_experience.LAST_UPDATE_TIME
     *
     * @param lastUpdateTime the value for hr_staff_work_experience.LAST_UPDATE_TIME
     *
     * @mbggenerated
     */
    public void setLastUpdateTime(Date lastUpdateTime) {
        this.lastUpdateTime = lastUpdateTime;
    }

    List<Attachment> attachmentList;

    public List<Attachment> getAttachmentList() {
        return attachmentList;
    }

    public void setAttachmentList(List<Attachment> attachmentList) {
        this.attachmentList = attachmentList;
    }

    int count;
    public void setCount(int count) {
        this.count = count;
    }

    public int getCount() {
        return count;
    }

    int nums;

    public int getNums() {
        return nums;
    }

    public void setNums(int nums) {
        this.nums = nums;
    }

    public String getStartDateArr() {
        return startDateArr;
    }

    public void setStartDateArr(String startDateArr) {
        this.startDateArr = startDateArr;
    }

    public String getEndDateArr() {
        return endDateArr;
    }

    public void setEndDateArr(String endDateArr) {
        this.endDateArr = endDateArr;
    }
}